package com.translate.web.config.common.excecption.runtime;

import java.io.IOException;

/**
 * 类名： IORuntimeException 概要： IO异常
 *
 */
public class IORuntimeException extends SystemRuntimeException {

	public static final String defMessageCode = "io.error";

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -2385332019740071491L;

	/**
	 * 构造器。
	 *
	 * @param cause 异常
	 */
	public IORuntimeException(IOException cause) {
		super(defMessageCode, new Object[] { cause }, cause);
	}

	/**
	 * 构造器。
	 *
	 * @param cause 异常
	 */
	public IORuntimeException(String cause) {
		super(defMessageCode, new Object[] { cause });
	}

}
